class CreateArtworks < ActiveRecord::Migration
  def self.up
    create_table :artworks do |t|
      t.text :description, :null => false
      t.string :keywords
      t.string :type
      t.string :image_file_name
      t.integer :image_file_size
      t.string :image_content_type

      t.timestamps
    end
  end

  def self.down
    drop_table :artworks
  end
end
